package com.zzyl.nursing.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class pageVO {
    /**
     * id
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 创维编号
     */
    @Excel(name = "床位号")
    @ApiModelProperty(value = "床位号")
    private String bedNumber;


    /**
     * 老人id
     */
    @Excel(name = "老人id")
    @ApiModelProperty(value = "老人id")
    private Integer elderId;

    /**
     * 老人姓名
     */
    @Excel(name = "老人姓名")
    @ApiModelProperty(value = "老人姓名")
    private String elderName;

    /**
     * 预计服务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计服务时间")
    private LocalDateTime estimatedServerTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 护理员id
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "护理员id", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "护理员id")
    private Integer nursingId;

    /**
     * 项目id
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "项目id", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "项目id")
    private  Integer projectId;

    /**
     * 护理项目名称
     */
    @Excel(name = "护理项目名称")
    @ApiModelProperty(value = "护理项目名称")
    private String projectName;


    /**
     * 状态  1.待执行 2.已执行 3.已关闭
     */
    @Excel(name = "状态  1.待执行 2.已执行 3.已关闭")
    @ApiModelProperty(value = "状态  1.待执行 2.已执行 3.已关闭")
    private Integer status;

    private List<String> nursingName;
}
